package com.woniuxy.core.staticCode;

public enum OrderCode {
    ORDER_HAD_COMMENT(8,"已评价"),
    ORDER_NO_COMMENT(7,"未评价"),

    ORDER_NOT_PAY(0,"待支付定金"),
    ORDER_HAS_PAY_Earnest(2,"已支付定金"),
    ORDER_PAYED(6,"订单已支付"),
    ORDER_OVER_TIME_NOT_PAY(3,"超时订单未支付（定金已支付）"),
    ORDER_OVER_TIME_PAYED(4,"超时订单已支付"),
    ORDER_OVER_TIME(5,"订单超时"),
    ORDER_ING(1,"订单进行中");



    private Integer code;
    private String message;

    OrderCode(Integer code , String message ) {
        this.message = message;
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
